package edu.ncu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FriendAsk implements Serializable {
    private int friendAskId;
    private int senderId;     //发送者id
    private int receiverId;  //接收者id
    private int result;     //请求结果 0表示不同意 1表示同意
    private int state;      //状态 0表示未读 1表示已读

    @Transient
    private User sender ;
    @Transient
    private User receiver ;
}
